package wisents.wicket.element;

import wisents.api.PageElement;

/**
 * User: paul.szulc
 * Date: Jan 11, 2010
 * Time: 10:41:16 PM
 */
public final class ExistElementCriteria extends AbstractWicketElementCriteria {
    
    public ExistElementCriteria(PageElement pageElement) {
        super(pageElement);
    }

    public void validateCriteria() {
        tester.getComponentFromLastRenderedPage(pageElement.path());
    }
}
